package com.iterator.service.web.systemManager;

import com.iterator.bean.web.dhy.AuthInfoVo;
import com.iterator.bean.web.wy.admin.*;

import javax.servlet.http.HttpServletRequest;

/**
 * @author: Silence_W
 * @date: 2021-01-10 15:00
 **/
public interface AdminListService {
    AdminVO queryAdmin(Integer page, Integer limit, String username, String sort, String order);

    CreateVO insertAdmin(CreateBO createBO, HttpServletRequest request);

    void delete(int id);

    UpdateVO updateAdmin(UpdateBO updateBO);


    //获取授权信息,dhy
    AuthInfoVo getAuthInfo();

    int authen(String username);

    //添加登录时间
    void updateLoginTime(String username, String host);
}
